<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/css.css">
</head>
<body class="container">
	<div>
		<form id="form" class="form-horizontal checkForm" role="form" action="topic/addByExcel" method="post" enctype="multipart/form-data">
			<div class="form-group">
				<label for="name" class="col-sm-2 control-label"></label>
				<div class="col-sm-10">
					<input type="file" name="upload" check="string" class="form-control" style="width:75%;"/>
				</div>
			</div>
			<div class="form-group" align="center">
                <div class="alert alert-info" style="width:70%;" align="left">
                    1.点击<a href="downloadModelBarrelBsAction.action"><font color="red">下载导入模板</font></a>,将导入模板保存到桌面上.<br/>
					2.双击打开导入模板,填充导入模板中的必填列,完成后保存文件.<br/>
					3.点击上方的[浏览...]按钮(<small>部分浏览器显示[选择文件]</small>),选择填充完成的导入模板.<br/>
					4.点击[确定导入]按钮,完成信息的批量导入.<br/>
				</div>
            </div>
		</form>
	</div>
	<script src="assets/js/jquery-1.11.1.min.js"></script>
	<script src="assets/js/bootstrap.min.js"></script>
	<script src="assets/js/js.js"></script>
	<script type="text/javascript">
		function submitForm() {
			$("#form").submit();
		}
	</script>
</body>
</html>
